Skip to content

Increase XDG directory specification adherence#1359

Open
flavionm wants to merge 1 commit into
Huachao:masterfrom
flavionm:master
Open

Increase XDG directory specification adherence#1359
flavionm wants to merge 1 commit into
Huachao:masterfrom
flavionm:master

Conversation

@flavionm

Copy link
Copy Markdown

The XDG Base Directory Specification has pre-defined defaults for when the respective environment variables are not set. Many Linux distros explicitly set them to be equivalent to the default, but not all do.

This PR makes it so that when those variables are not set on a Linux system, the user directories will be created on the respective defaults. Setting the variables to a different value will still have precedence, as will a pre-existing user directory in the home folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant